<?php if(!defined('IN_KKFRAME')) exit('Access Denied'); ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title><?php echo $_config['sitename']; ?></title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link href="style/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
	<link href="style/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
</head>
<body>
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="brand" href="./"><?php echo $_config['sitename']; ?></a>
				<div class="nav-collapse collapse">
					<div class="pull-left">
						<ul class="nav">
							<li><a href="upload.php">上传歌曲</a></li>
							<li><a href="my.php">我的歌曲</a></li>
						</ul>
					</div>
				</div>
				<div class="pull-right">
					<ul class="nav">
						<li><a href="javascript:void(0);"><img src="https://www.gravatar.com/avatar/<?php echo md5(trim(get_email($uid))); ?>?s=20"></img>&nbsp;<?php echo $username; ?></a></li>
						<?php if(is_admin($uid)){ ?><li><a href="admin.php"><i class="icon-cog icon-white"></i></a></li><?php } ?>
						<li><a href="member.php?action=logout&hash=<?php echo $formhash; ?>"><i class="icon-off icon-white"></i></a></li>
					</ul>
				</div>
			</div>
		</div>
	</div><br><br><br>
